#home{
  background: #EFEFEF;
  .header{
    z-index: 100;
    display: flex;
    padding: 0 15px;
    height: 45px;
    align-items: center;
    color: white;
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100%;
    .header-login{
      display: flex;
      align-items: center;
      img{
        width: 30px;
      }
    }
    >div:nth-child(1){
      width: 30px;
      height: 30px;
      img{
        width: 100%;
      }
    }
    >div:nth-child(2){
      //border: 1px solid white;
      background: rgba(255,255,255,.6);
      border-radius: 5px;
      width: 75%;
      display: flex;
      align-items: center;
      height: 28px;
      img{
        width: 20px;
        height: 20px;
        margin: 0 5px;
      }
      input{
        background: transparent;
        line-height: 26px;
        color: greenyellow!important;
      }
    }
    >div:nth-child(3){
      font-size: 17px;
    }
  }
  .swiper{
    img{
      height: 182px !important;
    }
  }
  .nav{
    width: 100%;
    margin:  10px 0;
    background: white;
    padding: 5px 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    //border: 1px solid red;
    >div{
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      color: #7b7b7b;
      //border: 1px solid red;
      >div:nth-child(1){
        height: 40px;
        width: 40px;
        img{
          width: 100%;
        }
      }
    }
  }
  .goods{
    .goods2{
      .title{
        color: chartreuse;
      }
    }
    .goods1{
      >div:nth-child(3){
        //border: 1px solid red;
        height: 170px;
        display: flex;
        flex-direction: column;
        .goods-img{
          margin: 5px 10px;
          width: 130px;
          height: 120px;
        }
        .goods-title{
          width: 100%!important;
        }
      }
      >div:nth-child(4){
        padding: 10px;
        width: 25%;
        height: 185px;
        float: left;
        display: flex;
        flex-direction: column;
        .goods-img{
          margin: 10px 0;
          width: 75px;
          height: 75px;
        }
        .goods-title{
          width: 100%!important;
        }
      }
    }
    >div{
      background: white;
      margin-bottom: 10px;
      height: 370px;
      overflow: hidden;
      .title{
        font-size: 18px;
        line-height: 40px;
        color: red;
        text-align: center;
      }
      >div:nth-child(2){
        padding: 10px;
        width: 50%;
        height: 170px;
        float: left;
        .goods-img{
          margin: 5px 10px;
          width: 130px;
          height: 120px;
          //border: 1px solid red;
        }
      }
      >div:nth-child(3),>div:nth-child(4){
        padding: 10px;
        width: 50%;
        height: 85px;
        float: left;
        display: flex;
        .goods-title{
          width: 70%;
        }
      }
      >div:nth-child(5),>div:nth-child(6),>div:nth-child(7),>div:nth-child(8){
        padding: 10px;
        width: 25%;
        height: 185px;
        float: left;
        .goods-img{
          margin: 10px 0;
          width: 75px;
          height: 75px;
        }
      }
      .goods-item{
        overflow: auto;
        box-shadow: 1px -1px 1px rgba(169,169,169,.4) ;
        .goods-title{
          overflow: hidden;
          text-overflow:ellipsis;
          white-space: nowrap;
          font-weight: bold;
        }
        .goods-img{
          width: 60px;
          height: 60px;
          img{
            width: 100%;
            height: 100%;
          }
        }
      }
    }
  }
  .rec{
    padding: 10px 0;
    position: relative;
    hr{
      border-bottom: .3px solid darkgray;
    }
    .rec-title{
      background: #EFEFEF;
      padding: 0 10px;
      position: absolute;
      display: flex;
      //width: 100%;
      left: 50%;
      top: 18px;
      transform: translateX(-50%);
        img{
          width: 25px;
        }
      p{
        font-size: 18px;
        font-weight: bold;
      }
    }
    .rec-goods{
      padding: 10px;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      >div{
        border-radius: 5px;
        margin-bottom: 10px;
        background: white;
        width: 48%;
        padding: 10px 0;
        .rec-img{
          width: 90%;
          margin-left: 5%;
          img{
            width: 100%;
          }
        }
        p{
          padding:0 5px;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
          overflow: hidden;
        }
        .rec-price{
          color: red;
          font-size: 16px;
          padding-left: 5px;
        }
      }
    }
  }
}